/*
 * 店铺试妆详情列表
 * @Author: ljb
 * @Date: 2018-04-20 17:38:08
 * @Last Modified by: ljb
 * @Last Modified time: 2018-08-24 10:36:17
 */
<style lang="less" rel="stylesheet/less" type="text/less">


</style>

<template>
	<div class="v-home-customer-product-store-index">

		<Table
			:columns="columns"
			:data="storeMakeupLists"
			class="personal-scrollbar"
			border
			height="350"/>

	</div>
</template>

<script>

export default {
	name: 'HomeProductIndex',
	props: {
		storeMakeupLists: {
			type: Array,
			required: true,
		},
	},
	data() {
		return {
			columns: [
				{
					title: this.$t('home.title'),
					key: 'name',
					align: 'center',
					render: (h, { row }) => <div class="nowrap" title={row.name}> { row.name || '-' } </div>,
				},
				{
					title: this.$t('home.try_on_count'),
					key: 'try_on',
					align: 'center',
					render: (h, { row }) => <div> { row.try_on || 0 } </div>,
				},
			],
		};
	},
	methods: {


	},
};
</script>
